﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ScenarioFramework.Portal.SF.Forms.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="it" >
<head runat="server">
    <title>Sign In | Scenario Framework</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name="description" content="" />
    <link rel="shortcut icon" type="image/png" href="/sf.png" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:Login ID="Login1" runat="server"  
                                        BackColor="#F7F6F3" BorderColor="#E6E2D8" BorderPadding="4" BorderStyle="Solid" 
                                        BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
                                        ForeColor="#333333" onloggedin="Login1_LoggedIn" >
                                        <TextBoxStyle Font-Size="0.8em" />
                                        <LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" 
                                            BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
                                            ForeColor="#284775" />
                                        <LayoutTemplate>
                                            <table border="0" cellpadding="4" cellspacing="0" 
                                                style="border-collapse:collapse;">
                                                <tr>
                                                    <td>
                                                        <table border="0" cellpadding="0">
                                                            <tr>
                                                                <td align="center" colspan="2" 
                                                                    style="color:White;background-color:#5D7B9D;font-size:0.9em;font-weight:bold;">
                                                                    Accedi</td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right">
                                                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Nome 
                                                                    utente:</asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="UserName" runat="server" Font-Size="Medium"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                                                        ControlToValidate="UserName" ErrorMessage="Il nome utente è obbligatorio." 
                                                                        ToolTip="Il nome utente è obbligatorio." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right">
                                                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="Password" runat="server" Font-Size="Medium" 
                                                                        TextMode="Password"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                                                        ControlToValidate="Password" ErrorMessage="La password è obbligatoria." 
                                                                        ToolTip="La password è obbligatoria." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <asp:CheckBox ID="RememberMe" runat="server" 
                                                                        Text="Memorizza dati per la prossima volta." />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="center" colspan="2" style="color:Red;">
                                                                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right" colspan="2">
                                                                    <asp:Button ID="LoginButton" runat="server" BackColor="#FFFBFF" 
                                                                        BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" CommandName="Login" 
                                                                        Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" Text="Accedi" 
                                                                        ValidationGroup="Login1" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </LayoutTemplate>
                                        <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                                        <TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" 
                                            ForeColor="White" />
                                    </asp:Login>
    </form>
</body>
</html>
